home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 248_01 / ccllib.ksh < prev    next >
Text File  |  1989-08-16  |  512b  |  20 lines

  1. :
  2. #    name:        ccllib.ksh
  3. #    purpose:    Compile large model program no link
  4. #
  5. if [ ! -f $1.c ]
  6. then
  7.     echo "Usage: $0 csource"
  8.     echo "The csource must exist in this directory"
  9.     echo "You must not define a file extension (.c)"
  10.     exit 1
  11. fi
  12. rm -f $1.exe
  13. rm -f $1.lst
  14. rm -f $1.map
  15. export INCLUDE="D:\INCLUDE;D:\INCLUDE\SYS;"
  16. export LIB="D:\LIB"
  17. export TMP="D:\TMP"
  18. cl -c -AL -Fs -W2 $1.c
  19. exit 0
  20.